<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="userCon?method=getuser">
    <input id="username" value="1">
    <input name="name" value="2">
    <button type="submit">提交</button>
</form>
<script src="./lib/layui/layui.js" charset="utf-8">
</script>
<script src="./js/x-layui.js" charset="utf-8"></script>

<button class="layui-btn" onclick="member_add('注册用户','member-add.html','600','500')"><i class="layui-icon">&#xe608;</i>注册</button>
<script>

    layui.use(['layer'], function(){
        $ = layui.jquery;//jquery
        layer = layui.layer;//弹出层
    });

    function member_add(title,url,w,h){
        x_admin_show(title,url,w,h);
    }

</script>
</body>
</html>